package msgParser;



public class Strings {
	
	public static final String DELIMITER="\0";
	
	public static final String INIT_FORUM="INIT_FORUM";  
	
	public static final String LOGOUT="LOGOUT";
	
	public static final String LOG_IN="LOG_IN";
	
	public static final String ADMIN_LOGIN="ADMIN_LOGIN";
	
	public static final String ADD_FORUM="ADD_FORUM";
	
	public static final String SHOW_FORUMS="SHOW_FORUMS";
	
	public static final String SHOW_SYSTEM_USERS="SHOW_SYSTEM_USERS";
	
	public static final String REGISTER="REGISTER";
	
	public static final String ACTIVATION_REQUEST="ACTIVATION_REQUEST";
	
	public static final String ADD_SUBFORUM="ADD_SUBFORUM";
	
	public static final String SHOW_SUBFORUMS="SHOW_SUBFORUMS";
	
	public static final String SHOW_TOPICS="SHOW_TOPICS";
	
	public static final String SHOW_MESSAGES="SHOW_MESSAGES";
	
	public static final String ADD_TOPIC="ADD_TOPIC";
	
	public static final String ADD_REPLY="ADD_REPLY";
	
	public static final String REMOVE_TOPIC="REMOVE_TOPIC";
	
	public static final String ADD_MODERATOR="ADD_MODERATOR";
	
	public static final String REMOVE_SUBFORUM="REMOVE_SUBFORUM";
	
	public static final String REMOVE_MODERATOR="REMOVE_MODERATOR";
	
	public static final String GET_SUBFORUM_SIZE="GET_SUBFORUM_SIZE";
	
	public static final String GET_USER_MSGCOUNT="GET_USER_MSGCOUNT";
	
	public static final String GET_AUTHORS_OF_REPLIES_TO_USER="GET_AUTHORS_OF_REPLIES_TO_USER";
	
	public static final String GET_FORUM_COUNT="GET_FORUM_COUNT";
	
	public static final String GET_COMMON_USERS="GET_COMMON_USERS";
	
	public static final String SHOW_FORUM_USERS="SHOW_FORUM_USERS";
	
	public static final String ERROR_UNKNOWN_MESSAGE="ERROR_UNKNOWN_MESSAGE";
	
	public static final String INIT_OK="INIT_OK";
	public static final String INIT_ERROR = "INIT_ERROR";
	
	public static final String FORUM_ADDED="FORUM_ADDED";
	public static final String ERROR_FORUM_ADD="ERROR_FORUM_ADD";
	
	public static final String ANS_SHOW_FORUMS="ANS_SHOW_FORUMS";
	public static final String ERROR_SHOW_FORUMS="ERROR_SHOW_FORUMS";
	
	public static final String ANS_SHOW_SYSTEM_USERS="ANS_SHOW_SYSTEM_USERS";
	public static final String ERROR_SHOW_SYSTEM_USERS="ERROR_SHOW_SYSTEM_USERS";
	
	public static final String LOGGED_IN="LOGGED_IN";
	public static final String ERROR_LOG_IN="ERROR_LOG_IN";
	
	public static final String LOGGED_OUT="LOGGED_OUT";
	public static final String ERROR_LOG_OUT="ERROR_LOG_OUT";
	
	public static final String REGISTERED="REGISTERED";
	public static final String ACTIVATION_NEEDED="ACTIVATION_NEEDED";
	public static final String ERROR_REGISTER="ERROR_REGISTER";
	
	public static final String SUBFORUM_ADDED="SUBFORUM_ADDED";
	public static final String ERROR_ADD_SUBFORUM="ERROR_ADD_SUBFORUM";
	
	public static final String ANS_SHOW_TOPICS="ANS_SHOW_TOPICS";
	public static final String ERROR_SHOW_TOPICS="ERROR_SHOW_TOPICS";
	
	public static final String ANS_SHOW_SUBFORUMS="ANS_SHOW_SUBFORUMS";
	public static final String ERROR_SHOW_SUBFORUMS="ERROR_SHOW_SUBFORUMS";
	
	public static final String ANS_SHOW_MESSAGES="ANS_SHOW_MESSAGES";
	public static final String ERROR_SHOW_MESSAGES="ERROR_SHOW_MESSAGES";
	
	public static final String TOPIC_ADDED="TOPIC_ADDED";
	public static final String ERROR_ADD_TOPIC="ERROR_ADD_TOPIC";
	
	public static final String REPLY_ADDED="REPLY_ADDED";
	public static final String ERROR_ADD_REPLY="ERROR_ADD_REPLY";
	
	public static final String TOPIC_REMOVED="TOPIC_REMOVED";
	public static final String ERROR_REMOVE_TOPIC="ERROR_REMOVE_TOPIC";
	
	public static final String MODERATOR_ADDED="MODERATOR_ADDED";
	public static final String ERROR_ADD_MODERATOR="ERROR_ADD_MODERATOR";
	
	public static final String SUBFORUM_REMOVED="SUBFORUM_REMOVED";
	public static final String ERROR_REMOVE_SUBFORUM="ERROR_REMOVE_SUBFORUM";
	
	public static final String MODERATOR_REMOVED="MODERATOR_REMOVED";
	public static final String ERROR_REMOVE_MODERATOR="ERROR_REMOVE_MODERATOR";
	
	public static final String ANS_GET_SUBFORUM_SIZE="ANS_GET_SUBFORUM_SIZE";
	public static final String ERROR_GET_SUBFORUM_SIZE="ERROR_GET_SUBFORUM_SIZE";
	
	public static final String ANS_GET_USER_MSGCOUNT="ANS_GET_USER_MSGCOUNT";
	public static final String ERROR_GET_USER_MSGCOUNT="ERROR_GET_USER_MSGCOUNT";
	
	public static final String ANS_GET_AUTHORS_OF_REPLIES_TO_USER="ANS_GET_AUTHORS_OF_REPLIES_TO_USER";
	public static final String ERROR_GET_AUTHORS_OF_REPLIES_TO_USER="ERROR_GET_AUTHORS_OF_REPLIES_TO_USER";
	
	public static final String ANS_GET_FORUM_COUNT="ANS_GET_FORUM_COUNT";
	public static final String ERROR_GET_FORUM_COUNT="ERROR_GET_FORUM_COUNT";
	
	public static final String ANS_GET_COMMON_USERS="ANS_GET_COMMON_USERS";
	public static final String ERROR_GET_COMMON_USERS="ERROR_GET_COMMON_USERS";
	
	public static final String ANS_SHOW_FORUM_USERS="ANS_SHOW_FORUM_USERS";
	public static final String ERROR_SHOW_FORUM_USERS="ERROR_SHOW_FORUM_USERS";

	public static final String ADD_ADMIN = "ADD_ADMIN";
	public static final String ADMIN_ADDED = "ADMIN_ADDED";
	public static final String ERROR_ADD_ADMIN = "ERROR_ADD_ADMIN";
	
	public static final String EDIT_REPLY="EDIT_REPLY";
	public static final String REPLY_EDITED="REPLY_EDITED";
	public static final String ERROR_EDIT_REPLY="ERROR_EDIT_REPLY";
	
	public static final String EDIT_POST="EDIT_POST";
	public static final String POST_EDITED="POST_EDITED";
	public static final String ERROR_EDIT_POST="ERROR_EDIT_POST";
	
	public static final String GET_SUBFORUM_MODERATORS="GET_SUBFORUM_MODERATORS";
	public static final String ANS_GET_SUBFORUM_MODERATORS="ANS_GET_SUBFORUM_MODERATORS";
	public static final String ERROR_GET_SUBFORUM_MODERATORS="ERROR_GET_SUBFORUM_MODERATORS";

	public static final String MESSAGE_INVALID="MESSAGE_INVALID";

	public static final String NOTIFY = "NOTIFY";
	
	/**
	 * Version 4 
	 */
	
	public static final String REMOVE_FORUM="REMOVE_FORUM";
	public static final String FORUM_REMOVED="FORUM_REMOVED";
	public static final String ERROR_REMOVE_FORUM="ERROR_REMOVE_FORUM";
	
	public static final String REMOVE_USER="REMOVE_USER";
	public static final String USER_REMOVED="USER_REMOVED";
	public static final String ERROR_REMOVE_USER="ERROR_REMOVE_USER";
	
	public static final String REMOVE_REPLY="REMOVE_REPLY";
	public static final String REPLY_REMOVED="REPLY_REMOVED";
	public static final String ERROR_REMOVE_REPLY="ERROR_REMOVE_REPLY";
	
	/**
	 * Policy
	 */
	public static final int IMMEDIATE_NOTIFY = 1; 
	public static final int PERIOD_NOTIFY = 2; 
	
	public static final int FORUM_MEMBERS_NOTIFY = 1;
	public static final int FORUM_REPLIES_USERS_NOTIFY = 4;
	
	public static final int AUTHOR_FORUM_DELETE_POST = 1;
	public static final int MODERATOR_DELETE_POST = 2;
	public static final int ADMIN_FORUM_DELETE_POST = 4;
	
	public static final int MIN_POST_ADD_MODERATOR = 1;
	public static final int SENIORITY_ADD_MODERATOR = 2;
	
	public static final int MIN_POST_COUNT = 0; 
	public static final int MIN_SENIORITY_DAYS = 10;
	
	public static final int INFORM_MODERATOR_BAD_WORDS = 1;
	public static final int REJECT_BAD_WORDS = 2;	
	
	public static final int CAN_REMOVE_SINGLE_MODERATOR = 1;
	public static final int CANNOT_REMOVE_SINGLE_MODERATOR = 2;
	
	public static final int VALID_EMAIL_SECURITY = 1;
	public static final int CODE_AUTHEN_SECURITY = 2;
	
}
